package com.whenjun.dto.resp;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class TokenInfo implements Serializable{

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("token")
	private String token;
	
	@ApiModelProperty("有效时间 单位s")
	private Integer expire;

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Integer getExpire() {
		return expire;
	}

	public void setExpire(Integer expire) {
		this.expire = expire;
	}

	@Override
	public String toString() {
		return "TokenInfo [token=" + token + ", expire=" + expire + "]";
	}
}
